package com.example.administrator.yuejian35.Me.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageButton;
import android.widget.TextView;

import com.example.administrator.yuejian35.R;

public class SettingActivity extends AppCompatActivity {
    private TextView set_updata;
    private ImageButton setting_btn_back;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setting);
        set_updata = (TextView) findViewById(R.id.set_updata);
        setting_btn_back = (ImageButton) findViewById(R.id.setting_btn_back);

        setting_btn_back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });

        set_updata.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent  = new Intent(SettingActivity.this,UserUpDataActivity.class);
                startActivity(intent);
            }
        });

    }
}
